const express = require('express');
const db = require('../utils/db');
const router = express.Router();

router.get("/", (req, res) => {
  const sql = `select id,name,phone from t_users`
  db.query(sql, (err, reults) => {
    if (err) return res.cc(err)
    return res.ok(reults)
  })
})
module.exports = router